package com.example.df.Quartz;

import com.example.df.util.QuartzreflectUtil;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.Map;

/**
 * @author xu
 * @Description
 * @createTime 2021年03月11日 14:37:00
 */
public class test implements Job {

    public void test(){
        System.out.println("a");
    }

    public void test2(String a, Integer b,Map s){
        System.out.println(a+s+b);
    }

    @SuppressWarnings("all")
    @Autowired
    QuartzreflectUtil quartzreflectUtil;

    @Override
    public void execute(JobExecutionContext jobExecutionContext){
        quartzreflectUtil.reflect(jobExecutionContext);
    }
}
